import request from "@/utils/request";
// 查询项目列表
export function getProjectList(query) {
    return request({
        url: "/heart/Project/list",
        method: "get",
        params: query,
    });
}
// add
export function addProject(data) {
    return request({
        url: "/heart/Projectt",
        method: "post",
        data,
    });
}
// edit
export function editProject(data) {
    return request({
        url: "/heart/Projectt",
        method: "put",
        data,
    });
}
// 删除项目列表
export function deleteProject(query) {
    return request({
        url: "/heart/Project/" + query,
        method: "delete",
    });
}
